﻿Imports CookComputing.XmlRpc

Namespace XmlRpc
    <Serializable()>
    <XmlRpcMissingMapping(MappingAction.Ignore)>
    Public Class SearchRequest

        <XmlRpcMember("language_id")>
        Public Property LanguageID As Integer = 2

        <XmlRpcMember("words")>
        Public Property Words As String

        <XmlRpcMember("creator_id")>
        Public Property CreatorID As Integer? = Nothing

        <XmlRpcMember("cat1_id")>
        Public Property Category1ID As Integer? = Nothing

        <XmlRpcMember("cat2_id")>
        Public Property Category2ID As Integer? = Nothing

        <XmlRpcMember("gallery_id")>
        Public Property GalleryID As String

        <XmlRpcMember("color_name")>
        Public Property ColorName As String

        <XmlRpcMember("country_id")>
        Public Property CountryID As Integer? = Nothing

        <XmlRpcMember("media_id")>
        Public Property MediaID As Integer? = Nothing

        <XmlRpcMember("model_id")>
        Public Property ModelID As Integer? = Nothing

        <XmlRpcMember("serie_id")>
        Public Property SerieID As Integer? = Nothing

        <XmlRpcMember("similia_id")>
        Public Property SimiliaID As Integer? = Nothing

        <XmlRpcMember("filters")>
        Public Property Filters As SearchFilters

        <XmlRpcMember("order")>
        Public Property Order As String

        <XmlRpcMember("limit")>
        Public Property Limit As Integer = 0

        <XmlRpcMember("offset")>
        Public Property Offset As Integer = 0

        <XmlRpcMember("thumbnail_size")>
        Public Property ThumbnailSize As Integer = 110

        <XmlRpcMember("detail_level")>
        Public Property DetailLevel As Integer = 0

    End Class
End Namespace